import request from '@/utils/request'

const {
    get: $get,
    post: $post,
    delete: $delete,
    download: $download
} = request

// 查询报警处置统计上报全部
export const alarmRecordReportList = data => {
    return $get('/alarm/alarmRecordReport/list', data)
}

// 查询报警处置统计上报列表
export const alarmRecordReportPage = data => {
    return $get('/alarm/alarmRecordReport/page', data)
}

// 新增报警处置统计上报
export const alarmRecordReportAdd = data => {
    return $post('/alarm/alarmRecordReport/add', data)
}

// 查询报警处置统计上报详情
export const alarmRecordReportDetail = id => {
    return $get('/alarm/alarmRecordReport/detail/'+ id)
}

// 更新报警处置统计上报
export const alarmRecordReportUpdate = data => {
    return $post('/alarm/alarmRecordReport/update', data)
}

// 删除报警处置统计上报
export const alarmRecordReportDelete = id => {
    return $post('/alarm/alarmRecordReport/delete/'+ id)
}

// 导出报警处置统计上报
export const alarmRecordReportExport = (data,fileName) => {
    return $download('/alarm/alarmRecordReport/export',data, fileName)
}
